﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NHibernateSample.Domain.Entities
{
    public class Order
    {
        public virtual int OrderId { get; set; }
        public virtual DateTime OrderDate { get; set; }
        //多对一关系：Orders属于一个Customer
        public virtual Customer Customer { get; set; }

    }
}
